/*
 * @Des: 任务待办API
 * @Author: jin_yc
 * @Date: 2019-11-14 19:32:17
 * @LastEditor: jin_yc
 * @LastEditTime: 2021-04-14 10:16:48
 */
import request from '@/utils/request'


/**
 * @description: 获取
 * @param {type} 
 * @return: 
 */
export function getUserTask(data) {
  return request({
    method: 'get',
    url: '/sys-bpm/userTasks',
    params: { ...data }
  })
}

export function taskUrge(taskId) {
  return request({
    method: 'post',
    url: '/sys-bpm/process/urge',
    params: { taskId: taskId }
  })
}


/** 模糊搜索 */
// export function fuzzySearch(data) {
//   return request({
//     url: '/sys-bpm/UserTasks/like',
//     method: 'get',
//     params: data,
//     headers: {
//       'Content-Type': 'application/json;charset=UTF-8'
//     }
//   })
// }